package com.administrator.cloudapplication.models;

import java.util.List;

/**
 * Created by Administrator on 2017/4/17.
 */

public class EbookModel {

    /**
     * data : [{"booklist":[{"author":"曹雪芹","bookcreatetime":"0","bookdescription":"","bookid":"13","bookname":"红楼梦","bookthumb":"data/attachment/image/20151022/d13aa80eaf5c419c48704b9f81243723.jpg","bookurl":"data/attachment/file/20151026/f47887cb524b937ad0dcf876e0baa349.txt"}],"cate":"zwdili","cateid":"19","catename":"中外地理","thumb":""},{"booklist":[{"author":"吴承恩","bookcreatetime":"1444372625","bookdescription":"","bookid":"16","bookname":"西游记","bookthumb":"data/attachment/image/20151022/8a471deac35a0bfa3ba2d42daecaed84.jpg","bookurl":"data/attachment/file/20151026/f47887cb524b937ad0dcf876e0baa349.txt"}],"cate":"cunture","cateid":"20","catename":"文化百家","thumb":""}]
     * image : http://115.28.35.65:8888/x6/images/2.png
     * result_code : 200
     */

    private String image;
    private String result_code;
    private List<EbookDataBean> data;

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getResult_code() {
        return result_code;
    }

    public void setResult_code(String result_code) {
        this.result_code = result_code;
    }

    public List<EbookDataBean> getData() {
        return data;
    }

    public void setData(List<EbookDataBean> data) {
        this.data = data;
    }

    public static class EbookDataBean {
        /**
         * booklist : [{"author":"曹雪芹","bookcreatetime":"0","bookdescription":"","bookid":"13","bookname":"红楼梦","bookthumb":"data/attachment/image/20151022/d13aa80eaf5c419c48704b9f81243723.jpg","bookurl":"data/attachment/file/20151026/f47887cb524b937ad0dcf876e0baa349.txt"}]
         * cate : zwdili
         * cateid : 19
         * catename : 中外地理
         * thumb :
         */

        private String cate;
        private String cateid;
        private String catename;
        private String thumb;
        private List<BooklistBean> booklist;

        public String getCate() {
            return cate;
        }

        public void setCate(String cate) {
            this.cate = cate;
        }

        public String getCateid() {
            return cateid;
        }

        public void setCateid(String cateid) {
            this.cateid = cateid;
        }

        public String getCatename() {
            return catename;
        }

        public void setCatename(String catename) {
            this.catename = catename;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public List<BooklistBean> getBooklist() {
            return booklist;
        }

        public void setBooklist(List<BooklistBean> booklist) {
            this.booklist = booklist;
        }

        public static class BooklistBean {
            /**
             * author : 曹雪芹
             * bookcreatetime : 0
             * bookdescription :
             * bookid : 13
             * bookname : 红楼梦
             * bookthumb : data/attachment/image/20151022/d13aa80eaf5c419c48704b9f81243723.jpg
             * bookurl : data/attachment/file/20151026/f47887cb524b937ad0dcf876e0baa349.txt
             */

            private String author;
            private String bookcreatetime;
            private String bookdescription;
            private String bookid;
            private String bookname;
            private String bookthumb;
            private String bookurl;

            public String getAuthor() {
                return author;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public String getBookcreatetime() {
                return bookcreatetime;
            }

            public void setBookcreatetime(String bookcreatetime) {
                this.bookcreatetime = bookcreatetime;
            }

            public String getBookdescription() {
                return bookdescription;
            }

            public void setBookdescription(String bookdescription) {
                this.bookdescription = bookdescription;
            }

            public String getBookid() {
                return bookid;
            }

            public void setBookid(String bookid) {
                this.bookid = bookid;
            }

            public String getBookname() {
                return bookname;
            }

            public void setBookname(String bookname) {
                this.bookname = bookname;
            }

            public String getBookthumb() {
                return bookthumb;
            }

            public void setBookthumb(String bookthumb) {
                this.bookthumb = bookthumb;
            }

            public String getBookurl() {
                return bookurl;
            }

            public void setBookurl(String bookurl) {
                this.bookurl = bookurl;
            }
        }
    }
}
